﻿namespace WebAppDbTest.Models;

/// <summary>
/// 记录日志信息
/// </summary>
public class AppLogs
{
    /// <summary>
    /// Guid
    /// </summary>
    public Guid Id { get; set; } = Guid.NewGuid();

    /// <summary>
    /// ActionExecInfo 集合 Id
    /// </summary>
    public Guid ActionExecInfoId { get; set; }

    /// <summary>
    /// 记录时间
    /// </summary>
    public DateTime Time { get; set; } = DateTime.Now;

    /// <summary>
    /// 日志等级
    /// </summary>
    public LogLevel LogLevel { get; set; }

    /// <summary>
    /// 标记
    /// </summary>
    public string Label { get; set; } = string.Empty;

    /// <summary>
    /// 数据项行数
    /// </summary>
    public int ItemCount { get; set; }

    /// <summary>
    /// 操作信息
    /// </summary>
    public string OperationInfo { get; set; } = string.Empty;
}
